package vip.xiaonuo.pm.modular.project.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import vip.xiaonuo.common.pojo.CommonEntity;

import java.io.Serializable;

/**
 * <p>
 * 项目类型
 * </p>
 *
 * @author xhs
 * @since 2025-06-04
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@TableName(value = "pm_project_type", autoResultMap = true)
public class PmProjectTypeEntity extends CommonEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("ID")
    private String id;

    /**
     * 父ID
     */
    @TableField("PARENT_ID")
    private String parentId;

    /**
     * 项目类型名称
     */
    @TableField("PROJECT_TYPE_NAME")
    private String projectTypeName;

    /**
     * 项目类型编号
     */
    @TableField("PROJECT_TYPE_NO")
    private String projectTypeNo;

    /**
     * 项目类型代码
     */
    @TableField("PROJECT_TYPE_CODE")
    private String projectTypeCode;

    /**
     * 排序
     */
    @TableField("SORT_CODE")
    private Integer sortCode;

    /**
     * 备注
     */
    @TableField("REMARK")
    private String remark;

    /**
     * 扩展信息
     */
    @TableField("EXT_JSON")
    private String extJson;
}
